package core.models;

import java.util.HashMap;

public class NatRule extends Rule {
	public NatRule(String command, String chain) {
		super();
		this.table = "nat";
		this.command = command;
		this.chain = chain;
		this.options = new HashMap<String, String>();
	}
	
	public static String[] getTargets() {
		String targets[] = {"REDIRECT", "SNAT", "DNAT", "MASQUERADE"};
		return targets;
	}
	
	public static String[] getChains() {
		String[] chains = {"PREROUTING", "POSTROUTING", "OUTPUT", "INPUT" };
		return chains;
	}

}
